package com.sun;

import com.sun.entity.User;
import com.sun.mapper.UserMapper;
import com.sun.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @Project: hospitalDrugInformationManagement
 * @Author: 86178
 * @Date: 2023/2/8 10:26
 * @FileName: testMP
 * @Description: ""
 */
@SpringBootTest
@Slf4j
public class testMP {

    @Autowired
    private UserService userService;

    @Test
    public void mpTest1() {

        User user = userService.getById(1);
        log.info(user.toString());

    }
}
